package kd.bos.openapi.sdk.request;

import lombok.Getter;
import lombok.Setter;

/**
 * @Deacription 操作类请求参数Dto
 * @author johnzou
 * @date 2022年4月6日
 */
@Setter
@Getter
public class RequestOperatorDto<T> {
    // 请求data
    private T data;

    public static RequestOperatorDto createRequest(){
        RequestOperatorDto request = new RequestOperatorDto();
        return request;
    }

    public RequestOperatorDto of(T data) {
        this.data = data;
        return this;
    }
}
